<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title></title>
    <script type="text/javascript">
      function showargs() {
        console.log( arguments );
      }
      showargs(1,2,3,4,5);
    </script>

    <script type="text/javascript">
      function add() {
        if( arguments.length == 2 ){
          return arguments[0] + arguments[1];
        }else{
          return '传入参数不合法';
        }
      }
      console.log( add(2,3) );
      console.log( add(1,2,3) );
    </script>

    <script type="text/javascript">
      function showcallee() {
        var a = '这里是代码';
        var b = '这是另一段代码';
        var c = a + b;
        console.log(arguments.callee);
        return c;
      }
      showcallee();
    </script>
  </head>
  <body>

  </body>
</html>
